<template>
  <div class="layout-all">
    <special-offer-form is_show="2" :type="2" v-if="id>0"/>
  </div>
</template>

<script>
import SpecialOfferForm from '../index_ui/index_custom_components/SpecialOfferForm'
export default {
  components: { SpecialOfferForm },
  data() {
    return {
      id:0,
    }
  },
  mounted() {
    if (this.$route.query.id) {
      this.$store.state.editId = this.$route.query.id
    }
    if (this.$route.query.type) {
      this.$store.state.type= this.$route.query.type
    }
    this.id=1


  },
  methods: {
    
  }
}
</script>

<style>
.layout-all {
  margin: 10px;
}
.spces_div{
  border:1px solid #DCDFE6;
  height: 100%;
  width: 30%;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 10px;
}
</style>
